import http from "./login";
// 登录请求
const postLoginApi = (params) => http.post("/login", params);
// 注册请求
const postRegeditApi = (params) => http.post("/regedit", params);

// 手机号验证请求
const postRegedittelApi = (params) => http.post("/regedit/tel", params);
// 短信验证码的请求
const getRegeditMessgeApi = (params) => http.get("/regedit/messges", params);
const getSendMessgeApi = (params) => http.get("/regedit/messges/send", params);

// 编辑个人信息的请求
const postEditApi = (params) => http.post("/edit", params);
const postEditChaXunApi = (params) => http.post("/edit/post", params);

export {
  postLoginApi,
  postRegeditApi,
  postRegedittelApi,
  getRegeditMessgeApi,
  getSendMessgeApi,
  postEditApi,
  postEditChaXunApi,
};
